(global.webpackJsonp = global.webpackJsonp || []).push([ [ "integral/order/orderList" ], {
    2398: function(t, e, r) {
        r.r(e);
        var n = r("5fb7"), i = r.n(n);
        for (var o in n) "default" !== o && function(t) {
            r.d(e, t, function() {
                return n[t];
            });
        }(o);
        e.default = i.a;
    },
    "3d02": function(t, e, r) {
        (function(t) {
            r("1067"), n(r("66fd"));
            var e = n(r("ebb7"));
            function n(t) {
                return t && t.__esModule ? t : {
                    default: t
                };
            }
            wx.__webpack_require_UNI_MP_PLUGIN__ = r, t(e.default);
        }).call(this, r("543d").createPage);
    },
    "5fb7": function(t, e, r) {
        (function(t) {
            Object.defineProperty(e, "__esModule", {
                value: !0
            }), e.default = void 0;
            var n = r("26cb"), i = (function(t) {
                t && t.__esModule;
            }(r("801c")), r("8434")), o = r("a71e"), a = (r("db8f"), r("03c7")), s = r("b806");
            function c(t) {
                return function(t) {
                    if (Array.isArray(t)) return u(t);
                }(t) || function(t) {
                    if ("undefined" != typeof Symbol && Symbol.iterator in Object(t)) return Array.from(t);
                }(t) || function(t, e) {
                    if (t) {
                        if ("string" == typeof t) return u(t, e);
                        var r = Object.prototype.toString.call(t).slice(8, -1);
                        return "Object" === r && t.constructor && (r = t.constructor.name), "Map" === r || "Set" === r ? Array.from(t) : "Arguments" === r || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? u(t, e) : void 0;
                    }
                }(t) || function() {
                    throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
                }();
            }
            function u(t, e) {
                (null == e || e > t.length) && (e = t.length);
                for (var r = 0, n = new Array(e); r < e; r++) n[r] = t[r];
                return n;
            }
            function d(t, e) {
                var r = Object.keys(t);
                if (Object.getOwnPropertySymbols) {
                    var n = Object.getOwnPropertySymbols(t);
                    e && (n = n.filter(function(e) {
                        return Object.getOwnPropertyDescriptor(t, e).enumerable;
                    })), r.push.apply(r, n);
                }
                return r;
            }
            function f(t) {
                for (var e = 1; e < arguments.length; e++) {
                    var r = null != arguments[e] ? arguments[e] : {};
                    e % 2 ? d(Object(r), !0).forEach(function(e) {
                        l(t, e, r[e]);
                    }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : d(Object(r)).forEach(function(e) {
                        Object.defineProperty(t, e, Object.getOwnPropertyDescriptor(r, e));
                    });
                }
                return t;
            }
            function l(t, e, r) {
                return e in t ? Object.defineProperty(t, e, {
                    value: r,
                    enumerable: !0,
                    configurable: !0,
                    writable: !0
                }) : t[e] = r, t;
            }
            var b = {
                computed: f(f({}, (0, n.mapGetters)([ "mainColor", "priceColor" ])), {}, {
                    conBtn: function() {
                        return {
                            color: this.mainColor,
                            border: "1rpx solid " + this.mainColor
                        };
                    }
                }),
                data: function() {
                    return {
                        isRequest: !1,
                        hideNav: !0,
                        TabCur: 0,
                        loadingOk: !0,
                        headerTop: "0px",
                        navArray: [ {
                            id: 0,
                            name: "全部"
                        }, {
                            id: 1,
                            name: "待付款"
                        }, {
                            id: 2,
                            name: "待发货"
                        }, {
                            id: 3,
                            name: "待收货"
                        }, {
                            id: 4,
                            name: "已完成"
                        } ],
                        orderList: [],
                        tabbarIndex: 2,
                        pager: 1,
                        pagesize: 10,
                        is_bar: "",
                        isShow: !1
                    };
                },
                onLoad: function(t) {
                    var e = this;
                    switch (e.type_id = (0, o.isEmpty)(t.id) ? 0 : t.id, console.log(e.type_id), t.id) {
                      case "0":
                        e.TabCur = 0;
                        break;

                      case "1":
                        e.TabCur = 1;
                        break;

                      case "2":
                        e.TabCur = 2;
                        break;

                      case "3":
                        e.TabCur = 3;
                        break;

                      case "4":
                        e.TabCur = 4;
                        break;

                      case "5":
                        e.TabCur = 5;
                    }
                },
                mounted: function() {},
                onShow: function() {
                    var t = this, e = this;
                    (0, s.init)(e).then(function(r) {
                        e.is_bar = r, t.pager = 1, e.orderList = [], e.getOrderList();
                    });
                },
                onReachBottom: function() {
                    this.pager++, this.loadingOk = !1, this.getOrderList();
                },
                onPullDownRefresh: function() {
                    this.isRequest = !1, this.loadingOk = !1, this.pager = 1, this.orderList = [], this.getOrderList();
                },
                methods: {
                    tabSelect: function(t, e) {
                        this.TabCur = e, this.type_id = t.id, this.tabbarIndex = e, this.orderList = [], 
                        this.pager = 1, this.getOrderList();
                    },
                    getOrderList: function() {
                        var e = this, r = this;
                        this.loadingOk = !1, this.isRequest = !1;
                        var n = {
                            page: this.pager,
                            pagesize: this.pagesize,
                            type: this.type_id,
                            isLoading: !1
                        };
                        (0, a.integralOrder)(n).then(function(n) {
                            var i = r.orderList, o = n.list;
                            i && 1 != r.page ? r.orderList = [].concat(c(i), c(o)) : r.orderList = o, t.stopPullDownRefresh(), 
                            e.loadingOk = !0, r.isShow = !0, e.isRequest = 0 == r.orderList.length;
                        });
                    },
                    navToOrderList: function(t) {
                        (0, i.route)({
                            url: "/integral/order/orderDetail",
                            type: 1,
                            data: {
                                id: t.id
                            }
                        });
                    }
                }
            };
            e.default = b;
        }).call(this, r("543d").default);
    },
    a3d6: function(t, e, r) {},
    e105: function(t, e, r) {
        r.d(e, "b", function() {
            return n;
        }), r.d(e, "c", function() {
            return i;
        }), r.d(e, "a", function() {});
        var n = function() {
            var t = this, e = (t.$createElement, t._self._c, t.__map(t.orderList, function(e, r) {
                return {
                    $orig: t.__get_orig(e),
                    m0: parseFloat(e.total_pay_price),
                    m1: parseFloat(e.total_pay_price)
                };
            }));
            t.$mp.data = Object.assign({}, {
                $root: {
                    l0: e
                }
            });
        }, i = [];
    },
    ebb7: function(t, e, r) {
        r.r(e);
        var n = r("e105"), i = r("2398");
        for (var o in i) "default" !== o && function(t) {
            r.d(e, t, function() {
                return i[t];
            });
        }(o);
        r("fa22");
        var a = r("f0c5"), s = Object(a.a)(i.default, n.b, n.c, !1, null, "267dfa9e", null, !1, n.a, void 0);
        e.default = s.exports;
    },
    fa22: function(t, e, r) {
        var n = r("a3d6");
        r.n(n).a;
    }
}, [ [ "3d02", "common/runtime", "common/vendor" ] ] ]);